package com.tedu.sales.pojo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
//stat_id (统计ID, 主键) medicine_id (药品ID, 外键) sales_date (销售日期) quantity_sold (销售数量) revenue (收入) create_time (创建时间)
public class SalesStatistics {
    @ApiModelProperty(value = "统计ID")
    private Long statId;
    @ApiModelProperty(value = "药品ID")
    private Long medicineId;
    @ApiModelProperty(value = "销售日期")
    private Date salesDate;
    @ApiModelProperty(value = "销售数量")
    private Long quantitySold;
    @ApiModelProperty(value = "收入")
    private Double revenue;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

}
